Matthew 4:2-3

Verse 2. Had fasted. Abstained from food.

Forty days and forty nights. It has been questioned by some whether Christ abstained wholly from food, or only from bread and the food to which he was accustomed. Luke says, (Lk 4:2,) that he ate nothing. This settles the question. Mark says, Mk 1:13, that angels came and ministered unto him. At first view, this would seem to imply that he did eat during that time. But Mark does not mention the time when the angels performed the office of kindness; and we are at liberty to suppose that he meant to say that it was done at the close of the forty days; and the rather as Matthew, after giving an account of the temptation, says the same thing, Mk 4:2. There are other instances of persons fasting forty days, recorded in the Scriptures. Thus Moses fasted forty days, Ex 34:28. Elijah also fasted the same length of time, 1Kgs 19:8. In these cases, they were no doubt miraculously supported.
Verse 3. The tempter. The devil, or Satan. See Mt 4:1.

If thou be the Son of God. If thou art the Messiah--if God's own Son--then thou hast power to work a miracle; and here is a fit opportunity to try thy power, and show that thou art truly his Son.

Command that these stones, etc. The stones that were lying around him in the wilderness, No temptation could have been more plausible, or more likely to succeed, than this. He had just been declared to be the Son of God, (Mt 3:17) and here was an opportunity to show that he was really so. The circumstances were such as to make it appear plausible and proper to work this miracle. "Here you are," was the language of Satan, "hungry, cast out, alone, needy, poor, and yet the Son of God! If you have this power, how easy could you satisfy your wants! How foolish is it, then, for the Son of God, having all power, to be starving in this manner, when by a word he could show his power, and relieve his wants, and when in the thing itself there could be nothing wrong!"
Copyright information for Barnes